Skip to main content

Insert Header Footer

AutomatR.Word.InsertHeaderFooter

The "Insert Header Footer" activity in AutomatR is part of the Word activities package, allowing you to add header and footer content to a Word document. This activity enhances the customization of Word documents by incorporating specific header and footer details.

Properties

NameDescription
Input
Footer ContentSpecifies the content to be added to the footer of the Word document. String variables containing the desired footer content.
Header ContentSpecifies the content to be added to the header of the Word document. String variables containing the desired header content.
Header SizeSpecifies the size of the header in centimeters (e.g., 0.5cm). Float variables containing the header size.
Footer SizeSpecifies the size of the footer in centimeters (e.g., 1cm). Float variables containing the footer size.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. Enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Insert Header Footer" activity. Useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.

How to use:

  1. Drag and drop the "Insert Header Footer" activity onto the workflow.
  2. Configure the properties by specifying the desired header and footer content, along with their respective sizes.
  3. Optionally, configure the delay and customize the display name.
  4. Execute the workflow to add the specified header and footer content to the Word document.

Example:

Consider an example where the "Insert Header Footer" activity is used to add a custom header and footer to a Word document:

Insert Header Footer:
Display Name: "Custom Header Footer"
Header Content: "Confidential Document"
Footer Content: "Page Number: [Page]"
Header Size: 1.0
Footer Size: 1.5

In this example, the activity adds a header with the content "Confidential Document" and a footer with the content "Page Number: [Page]" to the Word document. The header has a size of 1.0cm, and the footer has a size of 1.5cm.